Integrand size = 29, antiderivative size = 118 \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=-\frac {(c+d) \text {arctanh}\left (\frac {\sqrt {\frac {3}{2}} \sqrt {c-d} \cos (e+f x)}{\sqrt {3+3 \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{6 \sqrt {6} \sqrt {c-d} f}-\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (3+3 \sin (e+f x))^{3/2}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 126, normalized size of antiderivative = 1.07, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.138, Rules used = {2843, 12, 2861, 214} \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=-\frac {(c+d) \text {arctanh}\left (\frac {\sqrt {a} \sqrt {c-d} \cos (e+f x)}{\sqrt {2} \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}\right )}{2 \sqrt {2} a^{3/2} f \sqrt {c-d}}-\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (a \sin (e+f x)+a)^{3/2}} \]
[In]
[Out]
Rule 12
Rule 214
Rule 2843
Rule 2861
Rubi steps \begin{align*} \text {integral}& = -\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (a+a \sin (e+f x))^{3/2}}+\frac {\int \frac {a (c+d)}{2 \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx}{2 a^2} \\ & = -\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (a+a \sin (e+f x))^{3/2}}+\frac {(c+d) \int \frac {1}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx}{4 a} \\ & = -\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (a+a \sin (e+f x))^{3/2}}-\frac {(c+d) \text {Subst}\left (\int \frac {1}{2 a^2-(a c-a d) x^2} \, dx,x,\frac {a \cos (e+f x)}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{2 f} \\ & = -\frac {(c+d) \text {arctanh}\left (\frac {\sqrt {a} \sqrt {c-d} \cos (e+f x)}{\sqrt {2} \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{2 \sqrt {2} a^{3/2} \sqrt {c-d} f}-\frac {\cos (e+f x) \sqrt {c+d \sin (e+f x)}}{2 f (a+a \sin (e+f x))^{3/2}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(375\) vs. \(2(118)=236\).
Time = 2.38 (sec) , antiderivative size = 375, normalized size of antiderivative = 3.18 \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^2 \left (-\frac {2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (c+d \sin (e+f x))}{\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )}+\frac {(c+d) \left (\log \left (1+\tan \left (\frac {1}{2} (e+f x)\right )\right )-\log \left (c-d+2 \sqrt {c-d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(-c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )\right )}{\frac {\sec ^2\left (\frac {1}{2} (e+f x)\right )}{2+2 \tan \left (\frac {1}{2} (e+f x)\right )}-\frac {-\frac {1}{2} (c-d) \sec ^2\left (\frac {1}{2} (e+f x)\right )+\frac {\sqrt {c-d} \left (\frac {1}{1+\cos (e+f x)}\right )^{3/2} (d+d \cos (e+f x)+c \sin (e+f x))}{\sqrt {c+d \sin (e+f x)}}}{c-d+2 \sqrt {c-d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(-c+d) \tan \left (\frac {1}{2} (e+f x)\right )}}\right )}{12 \sqrt {3} f (1+\sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(735\) vs. \(2(103)=206\).
Time = 3.72 (sec) , antiderivative size = 736, normalized size of antiderivative = 6.24
method | result | size |
default | \(-\frac {\left (\sin \left (f x +e \right ) \sqrt {2 c -2 d}\, \sqrt {2}\, \ln \left (\frac {2 \sqrt {2 c -2 d}\, \sqrt {2}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \sin \left (f x +e \right )+2 c \sin \left (f x +e \right )-2 d \sin \left (f x +e \right )+2 c \cos \left (f x +e \right )-2 d \cos \left (f x +e \right )-2 c +2 d}{-\cos \left (f x +e \right )+1+\sin \left (f x +e \right )}\right ) c +\sin \left (f x +e \right ) \sqrt {2 c -2 d}\, \sqrt {2}\, \ln \left (\frac {2 \sqrt {2 c -2 d}\, \sqrt {2}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \sin \left (f x +e \right )+2 c \sin \left (f x +e \right )-2 d \sin \left (f x +e \right )+2 c \cos \left (f x +e \right )-2 d \cos \left (f x +e \right )-2 c +2 d}{-\cos \left (f x +e \right )+1+\sin \left (f x +e \right )}\right ) d +\sqrt {2 c -2 d}\, \sqrt {2}\, \ln \left (\frac {2 \sqrt {2 c -2 d}\, \sqrt {2}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \sin \left (f x +e \right )+2 c \sin \left (f x +e \right )-2 d \sin \left (f x +e \right )+2 c \cos \left (f x +e \right )-2 d \cos \left (f x +e \right )-2 c +2 d}{-\cos \left (f x +e \right )+1+\sin \left (f x +e \right )}\right ) c +\sqrt {2 c -2 d}\, \sqrt {2}\, \ln \left (\frac {2 \sqrt {2 c -2 d}\, \sqrt {2}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \sin \left (f x +e \right )+2 c \sin \left (f x +e \right )-2 d \sin \left (f x +e \right )+2 c \cos \left (f x +e \right )-2 d \cos \left (f x +e \right )-2 c +2 d}{-\cos \left (f x +e \right )+1+\sin \left (f x +e \right )}\right ) d +2 \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, c \cos \left (f x +e \right )-2 \sin \left (f x +e \right ) \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, c -2 \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \cos \left (f x +e \right ) d +2 \sin \left (f x +e \right ) \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, d +2 \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, c -2 \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, d \right ) \sqrt {c +d \sin \left (f x +e \right )}}{4 f \left (1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) a \sqrt {\frac {c +d \sin \left (f x +e \right )}{\cos \left (f x +e \right )+1}}\, \sqrt {a \left (\sin \left (f x +e \right )+1\right )}\, \left (c -d \right )}\) | \(736\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 331 vs. \(2 (103) = 206\).
Time = 0.48 (sec) , antiderivative size = 896, normalized size of antiderivative = 7.59 \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int \frac {\sqrt {c + d \sin {\left (e + f x \right )}}}{\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int { \frac {\sqrt {d \sin \left (f x + e\right ) + c}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int \frac {\sqrt {c+d\,\sin \left (e+f\,x\right )}}{{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \]
[In]
[Out]